package com.yizhang.disruptor.factory;

import com.lmax.disruptor.EventFactory;
import com.yizhang.disruptor.entity.OrderEvent;

/**
 * @Author: yi.zhang
 * @CreateTime: 2025-05-21 13:27:42
 * @Description: 订单事件工厂
 */
public class OrderEventFactory implements EventFactory<OrderEvent> {
    @Override
    public OrderEvent newInstance() {
        return new OrderEvent();
    }
}
